package com.hzt.agprosaleplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_orders")
public class Order {
    @TableId(type = IdType.AUTO,value = "oid")
    private Integer oid;
    private String buyer_id;
    private Integer shop_id;
    private String address_id;
    private String order_message;
    private int status;
    private float total_amount;
    private Timestamp created_date;
    private Timestamp update_date;
    private String payment_method;
}
